package com.adcc.swingui.bean;

import java.util.List;

/**
 * 菜单控件
 * 
 * @author charlie
 * 
 */
public class MenuComponentBean {
	/**
	 * 名称
	 */
	private String name;
	/**
	 * 菜单事件类型  web  mothod exe bufr ..
	 */
	private String eventType;
	/**
	 * 事件响应
	 */
	private String eventAction;
	/**
	 * 国际化名称
	 */
	private String i18nName;
	/**
	 * 菜单对象
	 */
	private String menuClass;
	/**
	 * item子项
	 */
	private List<MenuComponentBean> itemList;
	/**
	 * 调用方法
	 */
	private String method;
	/**
	 * icon
	 */
	private String icon;
	/**
	 * 组件是否可用
	 */
	private Boolean compEnabled = true;
	/**
	 * 客户端离线操作组件是否可见
	 */
	private Boolean offLineVisiable = true;
	/**
	 * 权限串
	 */
	private String privilegestr;
	/**
	 * 叶子节点
	 */
	private Boolean leaf = false;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public List<MenuComponentBean> getItemList() {
		return itemList;
	}

	public void setItemList(List<MenuComponentBean> itemList) {
		this.itemList = itemList;
	}

	public String getMethod() {
		return method;
	}

	public void setMethod(String method) {
		this.method = method;
	}

	public String getI18nName() {
		return i18nName;
	}

	public void setI18nName(String i18nName) {
		this.i18nName = i18nName;
	}

	public String getIcon() {
		return icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

	public Boolean getCompEnabled() {
		return compEnabled;
	}

	public void setCompEnabled(Boolean enabled) {
		this.compEnabled = enabled;
	}

	public Boolean getOffLineVisiable() {
		return offLineVisiable;
	}

	public void setOffLineVisiable(Boolean offLineVisiable) {
		this.offLineVisiable = offLineVisiable;
	}

	public String getEventType() {
		return eventType;
	}

	public void setEventType(String eventType) {
		this.eventType = eventType;
	}

	public String getEventAction() {
		return eventAction;
	}

	public void setEventAction(String eventAction) {
		this.eventAction = eventAction;
	}

	public String getMenuClass() {
		return menuClass;
	}

	public void setMenuClass(String menuClass) {
		this.menuClass = menuClass;
	}

	public String getPrivilegestr() {
		return privilegestr;
	}

	public void setPrivilegestr(String privilegestr) {
		this.privilegestr = privilegestr;
	}

	public Boolean getLeaf() {
		return leaf;
	}

	public void setLeaf(Boolean leaf) {
		this.leaf = leaf;
	}

}
